package com.blue.vo.job;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 任务调度日志表
 *
 * @author cnj
 * @email 15696471158@163.com
 * @date 2023-10-04
 */
@Data
public class JobLogsVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "ID")
    private String id;

    @Schema(description = "全类名")
    private String className;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "状态(0-执行中,1-成功,2-失败)")
    private String status;

    @Schema(description = "异常类型")
    private String errorType;

    @Schema(description = "异常详情")
    private String errorDetail;

    @Schema(description = "日志追踪ID")
    private String traceId;

    @Schema(description = "创建者ID")
    private String creatorId;

    @Schema(description = "创建时间")
    private String createTime;

    @Schema(description = "最近更新者ID")
    private String updaterId;

    @Schema(description = "最近更新时间")
    private String updateTime;

}
